package com.fc.authentication.modules.logger.service;

import com.fc.authentication.common.annotation.SysLog;
import com.fc.authentication.modules.logger.domain.SysLogger;
import com.fc.authentication.modules.logger.repository.LogRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Sunny on 2018/6/20.
 */
@Service
public class LogService {

    @Autowired
    LogRepository logRepository;
    public void insert(SysLogger sysLogger)
    {
        logRepository.save(sysLogger);
    }
}
